import { AxiosInstanceWrapper } from "@/plugins/AxiosHttpClient";
import { AxiosDownFileInstanceWrapper } from "@/plugins/AxiosDownFileClient";

const host: string = process.env.VUE_APP_HOST || '';
const devcloudPath: string = process.env.VUE_APP_DEVCLOUD_PATH || '';


const axiosClient = new AxiosInstanceWrapper(true)
const axiosClientNoloading = new AxiosInstanceWrapper(false)
const axiosDownFileClient = new AxiosDownFileInstanceWrapper()

export class BasePath {
    protected path: string = host
    protected client: AxiosInstanceWrapper = axiosClient
}

export class Devcloud {
  protected path: string = host + devcloudPath
  protected client: AxiosInstanceWrapper = axiosClient
}

export class DevcloudNoloading {
    protected path: string = host + devcloudPath
    protected client: AxiosInstanceWrapper = axiosClientNoloading
}

export class DevcloudDownFile {
  protected path: string = host + devcloudPath
  protected client: AxiosDownFileInstanceWrapper = axiosDownFileClient
}



